#include "ProjectManager/actionfile.h"

ActionFile::ActionFile(string  path, QObject * obj, string text)
    :QAction(QString(text.c_str()),obj){
    filePath=path;
    connect(this,SIGNAL(triggered()), this, SLOT(TriggerFile()));
}


void ActionFile::TriggerFile(){
    emit FileTriggered(filePath);
}
